home *** CD-ROM | disk | FTP | other *** search
/ Windows News 1997 February / Windows News CD #1 - Fev 97.iso / share / makehelp / exemple / vccp / exempvw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-22  |  1.2 KB  |  52 lines

  1. // exempvw.h : interface of the CExempleView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CExempleView : public CFormView
  6. {
  7. protected: // create from serialization only
  8.     CExempleView();
  9.     DECLARE_DYNCREATE(CExempleView)
  10.  
  11. public:
  12.     //{{AFX_DATA(CExempleView)
  13.     enum{ IDD = IDD_EXEMPLE_FORM };
  14.         // NOTE: the ClassWizard will add data members here
  15.     //}}AFX_DATA
  16.  
  17. // Attributes
  18. public:
  19.     CExempleDoc* GetDocument();
  20.  
  21. // Operations
  22. public:
  23.  
  24. // Implementation
  25. public:
  26.     virtual ~CExempleView();
  27. #ifdef _DEBUG
  28.     virtual void AssertValid() const;
  29.     virtual void Dump(CDumpContext& dc) const;
  30. #endif
  31.  
  32. protected:
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.  
  35. // Generated message map functions
  36. protected:
  37.     //{{AFX_MSG(CExempleView)
  38.     afx_msg void OnExempleDialogue1();
  39.     afx_msg void OnExempleDialogue2();
  40.     afx_msg void OnBpdial1();
  41.     afx_msg void OnBpdial2();
  42.     //}}AFX_MSG
  43.     DECLARE_MESSAGE_MAP()
  44. };
  45.  
  46. #ifndef _DEBUG  // debug version in exempvw.cpp
  47. inline CExempleDoc* CExempleView::GetDocument()
  48.    { return (CExempleDoc*)m_pDocument; }
  49. #endif
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.